package com.zfei.gfb.dao;

import com.zfei.gfb.model.GfbGuest;
import com.zfei.gfb.query.GfbGuestQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GfbGuestMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GfbGuest record);

    int insertSelective(GfbGuest record);

    GfbGuest selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GfbGuest record);

    int updateByPrimaryKey(GfbGuest record);

    List<GfbGuest> list(GfbGuestQuery record);

    int total(GfbGuestQuery record);

    GfbGuest selectByOpenId(String openId);

    GfbGuest selectByTypeAndId(@Param("type") Integer type,@Param("id") Integer id);
}